package com.usefullc.blog.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.usefullc.blog.domain.Tag;
import io.lettuce.core.dynamic.annotation.Param;
import java.util.List;

public interface TagMapper extends BaseMapper<Tag> {

//useful_auto_generate_section_start


//useful_auto_generate_section_end


    int deleteArticleTagByArticleId(@Param("articleId") Long articleId);

    List<Tag> findByArticleId(@Param("articleId") Long articleId);

    int insertArticleTag(@Param("articleId") Long articleId,@Param("tagId") Long tagId);

}
